package com.ksd.modules.special.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ksd.common.po.BatchIdsPO;
import com.ksd.commons.IBaseService;
import com.ksd.modules.special.entity.AdminSpecialComment;
import com.ksd.modules.special.po.AdminSpecialCommentSavePO;
import com.ksd.modules.special.po.AdminSpecialCommentSearchPO;
import com.ksd.modules.special.vo.AdminSpecialCommentVo;

public interface IAdminSpecialCommentService extends IBaseService<AdminSpecialComment> {


    /**
     * 查询列表
     * @param adminSpecialCommentSearchPO
     * @return
     */
    Page<AdminSpecialCommentVo> findAdminSpecialComments(AdminSpecialCommentSearchPO adminSpecialCommentSearchPO);

    /**
     * 保存和修改
     * @param adminSpecialCommentSavePO
     * @return
     */
    AdminSpecialCommentVo saveUpdateAdminSpecialComment(AdminSpecialCommentSavePO adminSpecialCommentSavePO);

    /**
     * 根据id获取明细
     * @param id
     * @return
     */
    AdminSpecialCommentVo getAdminSpecialCommentById(Long id);

    /**
     * 单个物理删除
     * @return
     */
    Boolean removeAdminSpecialCommentById(Long id);

    /**
     * 批量物理删除
     * @param batchIdsPO
     * @return
     */
    Boolean batchRemovesAdminSpecialComment(BatchIdsPO batchIdsPO);

    /**
     * 修改状态
     * @param id
     * @param column
     * @param value
     * @return
     */
    boolean updateStatus(Long id,String column,Integer value);

    /**
     * 修改状态
     * @param id
     * @param column
     * @param value
     * @return
     */
    boolean updateStatusStr(Long id,String column,String value);

    /**
     * 批量上架
     *
     * @param batchIdsPO
     * @return
     */
    Boolean batchDowns(BatchIdsPO batchIdsPO);

    /**
     * 批量上架
     *
     * @param batchIdsPO
     * @return
     */
    Boolean batchUps(BatchIdsPO batchIdsPO);
}
